Release 10.1A: OpenEdge Development:
Programming Interfaces
proevt() - Set Interval Timer
Sets an interval timer specified by a timer flag. The caller must test the timer flag to know whether the time interval has expired for the corresponding interval timer. The caller must not free the storage containing the flag until either the time interval has expired or
procncel()has been called to cancel the specified interval timer. You can useproevt()to start an unlimited number of times:Syntax
secondsSpecifies the duration (in seconds) to set the specified interval timer.
pflagPoints to a timer flag used to identify and monitor the specified interval timer. The caller must set *
pflagto 0 before invokingproevt(). When the time interval expires,proevt()sets *pflagto a non-zero value. You can test *pflagexplicitly with your own code or implicitly using theprowait()function.Note
- This function applies only to UNIX systems. For more information on using HLC timer services, see Chapter 18, " Host Language Call Interface."
See also
procncel() - Cancel Interval Timer, prockint() - Test for Interrupt Key, prosleep() - Sleep For Specified Interval, prowait() - Wait For Timer To Expire
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |